package com.llt.user.domain.exam.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.llt.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author llt
 * @since 2024-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_question")
public class ExamQuestion extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 竞赛题目关系id（主键）
     */
    @TableId(value = "exam_question_id", type = IdType.ASSIGN_ID)
    private Long examQuestionId;

    /**
     * 题目id（主键）
     */
    private Long questionId;

    /**
     * 竞赛id（主键）
     */
    private Long examId;

    /**
     * 题目顺序
     */
    private Integer questionOrder;
}
